package com.ocl.www.mapper;

import com.ocl.www.domain.Lyarticle;
import com.ocl.www.domain.PageObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/5/28.
 */
@Mapper
public interface LyarticleMapper {

    public int insertlyArticle(Lyarticle art) throws Exception;

    public List<Lyarticle> selectlyArticleList() throws Exception;

    public Lyarticle getArticle(Lyarticle lyarticle) throws Exception;

    int addOneCommCount(Lyarticle art)throws Exception;

    public List<Lyarticle> selectArticleMoreInfo(PageObject pageObject)throws Exception;

    List<Lyarticle> selectArticleMoreInfo_old(PageObject pageObject)throws Exception;
}
